package com.frank.practice.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frank.practice.entity.PracticeSetDetail;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/3/17
 * @description
 */
@Mapper
public interface PracticeSetDetailMapper extends BaseMapper<PracticeSetDetail> {

    int insertList(@Param("list")List<PracticeSetDetail> list);

    /**
     * 根据setId查询PracticeSetDetail
     *
     * @param setId setId
     * @return PracticeSetDetail
     */
    List<PracticeSetDetail> selectBySetId(@Param("setId") Long setId);

    /**
     * 根据setId查询PracticeSetDetail
     *
     * @param setId setId
     * @return PracticeSetDetail
     */
    List<PracticeSetDetail> listBySetId(@Param("setId") Long setId);
}